﻿<Window x:Class="Launcher.Shell"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:prism="http://www.codeplex.com/prism"
        xmlns:usercontrols="clr-namespace:Launcher.UserControls"
        Title="Keeper"
        Background="Gray"
        SnapsToDevicePixels="True"
        WindowStartupLocation="CenterScreen">
    <Window.Resources>
        <Style TargetType="{x:Type TextBlock}">
            <Setter Property="FontFamily" Value="Segoe UI" />
        </Style>

        <Style TargetType="{x:Type Button}">
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="{x:Type Button}">
                        <Grid>
                            <ContentPresenter />
                        </Grid>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
    </Window.Resources>

    <Viewbox>
        <Grid Width="1000" Height="618">
            <ContentControl prism:RegionManager.RegionName="WholeRegion" />
            <usercontrols:LoadingControl Width="100"
                                         Height="100"
                                         IsLoading="True" />
        </Grid>
    </Viewbox>
</Window>
